<template>
    <!-- mine/pages/godaddySuccess/godaddySuccess.wxml -->
    <view class="successBox" :style="objColor">
        <image :src="(mixOtherIconList[3] && mixOtherIconList[3].icon) || 'https://oos-cn.ctyunapi.cn/front-end/static/mine/images/Success.png'" class="img"></image>
        <view class="txt1">提交成功</view>
        <view class="txt2">{{msg}}</view>
        <view class="btn" @tap="goHome">返回首页</view>
    </view>
</template>

<script>
'use strict'; // mine/pages/godaddySuccess/godaddySuccess.ts

export default {
    data() {
        return {
            msg:''
        };
    }
    /**
     * 生命周期函数--监听页面加载
     */,
    onLoad: function (options) {
        this.msg= options.msg;
    },
    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady: function () {},
    /**
     * 生命周期函数--监听页面显示
     */
    onShow: function () {},
    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide: function () {},
    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload: function () {},
    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh: function () {},
    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom: function () {},
    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function () {},
    methods: {
        goHome: function () {
            uni.switchTab({
                url: '../../../pages/index/index'
            });
        }
    }
};
</script>
<style lang="less">
@import url('./godaddySuccess.less');
</style>
